package com.tencent.service;

import com.tencent.common.Configure;

public class TestService extends BaseService{

	public TestService () throws IllegalAccessException, InstantiationException, ClassNotFoundException{
		super(Configure.GET_OPENID);
	}

	/**
     * 请求支付服务
     * @param scanPayReqData 这个数据对象里面包含了API要求提交的各种数据字段
     * @return API返回的数据
     * @throws Exception
     */
    public String request() throws Exception {

        //--------------------------------------------------------------------
        //发送HTTPS的Post请求到API地址
        //--------------------------------------------------------------------
        String responseString = sendPost(null);
        return responseString;
    }
}
